﻿@model IEnumerable<EC_ASS.Models.ShopItem>

<table class="table table-striped">
    <thead>
        <th>Hình ảnh</th>
        <th>Tên sản phẩm</th>
        <th>Giá (VAT)</th>
        <th>Số lượng</th>
        <th>Size</th>
        <th>Thành tiền</th>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    <img src="@Url.Content("~/" + item.cPicture)" height="70" width="70"/>
                </td>
                <td>@item.cName</td>
                <td>@item.cPrice</td>
                <td>@item.cQuantity</td>
                <td>@item.cSize</td>
                <td>@(item.cQuantity * item.cPrice) VNĐ</td>
            </tr>
                            }
        <tr>
            <td colspan="4"></td>
            <td><span class="label label-info">Total</span></td>
            <td>@ViewBag.Total VNĐ</td>
        </tr>
    </tbody>
</table>
